package com.touchfired.common.core.event.impl;

import com.touchfired.common.constants.ClientInfo;
import com.touchfired.common.core.event.BaseEvent;
import com.touchfired.common.params.CreateRoomParams;
import lombok.Getter;

/**
 * 房间创建 事件
 *
 * @author 幸佳俊
 */
@Getter
public class RoomCreateEvent extends BaseEvent {

    private CreateRoomParams roomParams;
    private ClientInfo clientInfo;

    public RoomCreateEvent(ClientInfo clientInfo, CreateRoomParams roomParams) {
        super(clientInfo);
        this.clientInfo = clientInfo;
        this.roomParams = roomParams;
    }
}
